package com.multi.thread.chapter02.demo08.test01;

public class MyThread01 extends Thread {
	
	private Service service;
	private MyObject object;
	
	public MyThread01(Service service, MyObject object) {
		this.service = service;
		this.object = object;
	}
	
	@Override
	public void run() {
		service.testMethod(object);
	}

}
